package com.situ.car.service;

import com.situ.car.pojo.entity.User;
import com.situ.car.pojo.query.UserQuery;
import com.situ.car.util.PageInfo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface IUserService {
    PageInfo selectByPage(UserQuery userQuery);

    void deleteById(Integer id);

    void deleteAll(String[] ids);

    void updateStatus(Integer id, Integer status);

    Integer selectByAccount(User user);

    void add(User user);

    User selectById(Integer id);

    int update(User user);

    List<User> selectOrder();

    Integer totalCost();


    void exportExcel(HttpServletResponse resp);

    void importExcel(HttpServletRequest req);
}
